home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmTextFieldInsert.z / XmTextFieldInsert
Encoding:
Text File  |  2003-11-18  |  2.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddIIIInnnnsssseeeerrrrtttt((((3333XXXX))))     UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV     XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddIIIInnnnsssseeeerrrrtttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_T_e_x_t_F_i_e_l_d_I_n_s_e_r_t - A    TextField function that    inserts    a
  10.       character string into    a text string
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/TextF.h>
  14.  
  15.       void XmTextFieldInsert (wwwwiiiiddddggggeeeetttt,,,, ppppoooossssiiiittttiiiioooonnnn,,,, vvvvaaaalllluuuueeee)
  16.            _W_i_d_g_e_t       wwwwiiiiddddggggeeeetttt;
  17.            _X_m_T_e_x_t_P_o_s_i_t_i_o_nppppoooossssiiiittttiiiioooonnnn;
  18.            _c_h_a_r       **** vvvvaaaalllluuuueeee;
  19.  
  20.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.       _X_m_T_e_x_t_F_i_e_l_d_I_n_s_e_r_t inserts a character    string into the    text
  22.       string in the    TextField widget.  The character positions
  23.       begin    at zero    and are    numbered sequentially from the
  24.       beginning of the text.  For example, to insert a string
  25.       after    the fourth character, the ppppoooossssiiiittttiiiioooonnnn parameter must be
  26.       4.
  27.  
  28.       This routine calls the widget's _X_m_N_v_a_l_u_e_C_h_a_n_g_e_d_C_a_l_l_b_a_c_k and
  29.       verification callbacks, either _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k or
  30.       _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k_W_c_s, or both.    If both    verification
  31.       callback lists are registered, the procedures    of the
  32.       _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k list are executed first and the
  33.       resulting data is passed to the _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k_W_c_s
  34.       callbacks.
  35.  
  36.       wwwwiiiiddddggggeeeetttt
  37.            Specifies the TextField widget ID
  38.  
  39.       ppppoooossssiiiittttiiiioooonnnn
  40.            Specifies the position in the text string where the
  41.            character string    is to be inserted
  42.  
  43.       vvvvaaaalllluuuueeee
  44.            Specifies the character string value to be added    to the
  45.            text widget
  46.  
  47.       For a    complete definition of TextField and its associated
  48.       resources, see _X_m_T_e_x_t_F_i_e_l_d(_3_X).
  49.  
  50.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  51.       _X_m_T_e_x_t_F_i_e_l_d(_3_X) and _X_m_T_e_x_t_F_i_e_l_d_I_n_s_e_r_t_W_c_s(_3_X).
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.